<template>
  <el-config-provider :locale="locale">
    <router-view />
  </el-config-provider>
</template>
<script>
   // eleui中文显示
import zhCn from "element-plus/lib/locale/lang/zh-cn";
import { ref } from "@vue/reactivity";
export default {
  name: "App",
  components: { zhCn },
  setup() {
    let locale = ref(zhCn);
    return {
      locale,
    };
  },
};
</script>
<style>

</style>
